package com.hzqiuxm.tdddemo001;

import lombok.Builder;
import lombok.Data;

/**
 * Copyright © 2020年 tdd-demo-001. All rights reserved.
 *
 * @author 临江仙 hzqiuxm@163.com
 * 实体类
 * @date 2020/6/30 15:02
 */
@Data
@Builder
public class Person {

    private String name;
    private Integer age;
    private String email;


    public static Person create(){

       return Person.builder()
                .name("临江仙")
                .age(35)
                .email("hzqiuxm@163.com")
                .build();
    }

}
